package org.swxjava.assembler;

public class MarshallException extends Exception {

	private Class paramType;

	private Throwable ex = null;

	public MarshallException(Class paramType) {
		this.paramType = paramType;
	}

	public MarshallException(Class paramType, Throwable ex) {
		this.paramType = paramType;
		this.ex = ex;
	}

	public MarshallException(Class paramType, String message) {
		this.paramType = paramType;
	}

	public Throwable getCause() {
		return ex;
	}

	public Class getConversionType() {
		return paramType;
	}
}
